package com.ktjy.car.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ktjy.car.entity.Brand;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface BrandMapper extends BaseMapper<Brand> {
    @Select("SELECT brandId as id, brandName as name FROM brand")
    List<Brand> selectAll();
}